import {
  ref,
  computed
} from 'vue';

import {
  useState,
  useGetters,
  useActions,
  useMutations
} from '@/store/hooks'; 
export default function() {
  const page = ref<number>(1)
  const state = useState('index', ['requestCount', 'a'])
  const getter = useGetters('index', ['getCount'])
  const actions = useActions('index', ['increments'])
  actions.increments()
  console.log(state.requestCount.count);
  
  return {
    page
  }
}